 package com.lj.mcore.entity;

  import com.lj.mcore.domain.IdEntity;
 import jakarta.persistence.*;


 @Entity
 @Table(name="shopping_user_friend")
 public class SnsFriend extends IdEntity
 {
 
   @ManyToOne(fetch=FetchType.LAZY)
   private User fromUser;
 
   @ManyToOne(fetch=FetchType.LAZY)
   private User toUser;
 
   public User getFromUser()
   {
     return this.fromUser;
   }
 
   public void setFromUser(User fromUser) {
     this.fromUser = fromUser;
   }
 
   public User getToUser() {
     return this.toUser;
   }
 
   public void setToUser(User toUser) {
     this.toUser = toUser;
   }
 }



 
 